 package net.go176.backpack.util.simplenbt;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 public class NBTBase
 {
   protected Object handle;
   
   NBTBase(Object handle) {
    this.handle = handle;
   }
   
   public byte getTypeId() {
     return Reflector.nbtbaseGetTypeId(this.handle);
   }
   
   public Object getHandle() {
     return this.handle;
   }
   
   public boolean isSameHandle(Object obj) {
     if (!(obj instanceof NBTBase))
       return false; 
     return (this.handle == ((NBTBase)obj).getHandle());
   }
 
   
   public boolean equals(Object obj) {
     if (!(obj instanceof NBTBase))
       return false; 
     return this.handle.equals(((NBTBase)obj).getHandle());
   }
 
   
   public String toString() {
     return this.handle.toString();
   }
 }


/* Location:              D:\User\Xuan\Downloads\MyBackpack1.2.5.jar!\net\saralab\mybackpac\\util\simplenbt\NBTBase.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.1.3
 */